package com.powernode.crm.transaction.mapper;

import com.powernode.crm.commons.model.ChartVO;
import com.powernode.crm.transaction.model.Tran;

import java.util.List;
import java.util.Map;

public interface TranMapper {
    int deleteByPrimaryKey(String id);

    int insert(Tran record);

    int insertSelective(Tran record);

    Tran selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Tran record);

    int updateByPrimaryKey(Tran record);

    List<Tran> selectByParams(Map<String, Object> params);

    int selectCountByParams(Map<String, Object> params);

    Tran selectById(String id);

    List<ChartVO> selectChartVo();


}